package com.chao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chao.entity.SysNotice;
import com.chao.mapper.SysNoticeMapper;
import com.chao.service.SysNoticeService;
import org.springframework.stereotype.Service;

@Service
public class SysNoticeServiceImpl extends ServiceImpl<SysNoticeMapper, SysNotice> implements SysNoticeService {


    @Override
    public int addOfPrimary(SysNotice sysNotice) {
        return getBaseMapper().addOfPrimary(sysNotice);
    }
}
